package com.graduation.lastproject.service.business.businessHighActive;

import com.graduation.lastproject.entity.Bookorder;
import com.graduation.lastproject.entity.BusinessIncom;
import com.graduation.lastproject.entity.Review;

import java.util.List;
import java.util.Map;

public interface BusinessHighService {
    //酒店数据更新
    int uploadFileEdit(Map<String, Object> hotelInfo);

    //根据酒店id删除表数据
    int deleteHotelPicInfo(String hotelId);

    //酒店图片更新
    int updataPicInfo(Map<String, Object> info);

    /*获取当前商家订单总数*/
    int getOrderTotal(Bookorder bookorder);

    /*获取当前商家订单信息*/
    List<Bookorder> getOrderInfoListPage(Bookorder bookorder);

    /*获取当前商家总数*/
    int getBReviewTotal(Review review);

    /*获取当前商家评论总数*/
    List<Review> getBReviewInfoListPage(Review review);

    /*商家回复信息*/
    int businessReturnReview(Map<String, Object> map);

    /*统计商家收入*/
    List<BusinessIncom> getTotalInPrice(String bphone, String year);
}
